<?php if ( ! defined('BASEPATH')) exit('No direct script access allowed');

class Contact extends CI_Controller {

	function __construct()
	{
		parent::__construct();
		$this->load->model('Common_model');
	}

	function index()
			{		$data['list_event']=$this->Common_model->getData('list','tk_event','id_event',FALSE,5,3,'DESC');
					$data['update_news'] =$this->Common_model->getData('list','tk_content','id_content',FALSE,5,FALSE,'DESC');
					$data['query'] =$this->Common_model->getData('list','tk_event','id_event',FALSE,3,FALSE,'DESC');
										
					$data['main_view'] = 'home';
					$this->load->view('index',$data);
			}
}

/* End of file Contact.php */
/* Location: ./application/controllers/Contact.php */